package smu.KYBank;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class KYBdeposit extends Activity {
	Button ok;
	Button cancel;
	
	public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.deposit);
        
        Intent intent = getIntent();
		String login_id = intent.getStringExtra("login_id");
        
        
        ok = (Button) findViewById(R.id.ok);
        cancel = (Button) findViewById(R.id.cancel);
        
        ok.setOnClickListener(new OnClickListener() {
    		public void onClick(View v) {
    			Intent intent = new Intent(KYBdeposit.this, KYBmain.class);
    			startActivity(intent);
    			finish();
    		}
    	});
        
        cancel.setOnClickListener(new OnClickListener() {
    		public void onClick(View v) {
    			Intent intent = new Intent(KYBdeposit.this, KYBmain.class);
    			startActivity(intent);
    			finish();
    		}
    	});
	}
}